package com.shuwen.gcdj.bean.strategy.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author :yys
 * @date : 2023/5/9 14:30
 */
@Data
@ApiModel
public class AddStrategyReq {

    @ApiModelProperty(value = "策略名称",required = true)
    @NotBlank(message = "策略名称不能为空")
    private String name;

    @ApiModelProperty(value = "策略模板id")
    private String templateId;

    @ApiModelProperty(value = "策略模板名称")
    private String templateName;

}
